from datetime import datetime
f = open('appendme.txt','a')
now = str(datetime.now())+'\n'
print(f.write(now))